package com.dwxt.sport.business.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;

@Table(name = "s_dict_value")
@Data
@Accessors(chain = true)
public class DictValue {

    @Id
    private String id;

    /**
     * 字典code
     */
    @Column(name = "dict_code")
    private String dictCode;

    /**
     * 字典真实值
     */
    @Column(name = "dict_value")
    private String dictValue;

    /**
     * 字典页面值
     */
    @Column(name = "dict_display")
    private String dictDisplay;

    /**
     * 字典描述
     */
    @Column(name = "dict_desc")
    private String dictDesc;

    /**
     * 父ID
     */
    @Column(name = "parent_id")
    private String parentId;

    /**
     * 排序
     */
    @Column(name = "sort_order")
    private Integer sortOrder;

    /**
     * 分组code
     */
    @Column(name = "group_code")
    private String groupCode;

    /**
     * 是否启用(0:否;1是)
     */
    @Column(name = "is_using")
    private String isUsing;

    /**
     * 备用字段1
     */
    @Column(name = "alternate_field1")
    private String alternateField1;

    /**
     * 备用字段2
     */
    @Column(name = "alternate_field2")
    private String alternateField2;

}